package com.example.demo.persistence;

import com.example.demo.domain.Category;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryDao {
    List<Category> getCategoryList();

    Category getCategory(@Param("categoryId") String categoryId);
}
